
speed = 1000

speed_msb = speed >> 8
speed_lsb = speed & 0xff

print(speed_msb)
print(speed_lsb)

a = speed_msb << 8

print(a)


print(a + speed_lsb)